package com.mall.service.impl;

import com.mall.pojo.GoodsPicturePo;
import com.mall.mapper.GoodsPictureMapper;
import com.mall.service.GoodsPictureService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品图片信息表 服务实现类
 * </p>
 *
 * @author zhangshiqi
 * @since 2020-09-13
 */
@Service
public class GoodsPictureServiceImpl extends ServiceImpl<GoodsPictureMapper, GoodsPicturePo> implements GoodsPictureService {

    @Autowired
    private GoodsPictureMapper goodsPictureMapper;

    @Override
    public List<GoodsPicturePo> finaAll() {
        return goodsPictureMapper.selectList(null);
    }
}
